<?php
	include('functions/func_bootstrap.php');
	bootstrap('functions');
?>

<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>My Little Gangsters Password Creator</title>
</head>
<body>
	<form action="passwordcreator.php" method="POST"><input type="password" name="password"><input type="submit" value="New pass"></form>

	<?php
		if($_SERVER['REQUEST_METHOD'] == 'POST')
		{
			echo '<b>Encrypted Password:</b><br>'.encrypt($_POST['password']);
		}
	?>
</body>
</html>